package itsos.common;
import itsos.common.*;

public class CheckPublish {

	public boolean gom(long membercode, long issuecode)
	{
		
		
		if(membercode==ConstCode.ADMINISTRATOR)
		{
			
			return true;
		}
		else if(membercode==ConstCode.DEVELOPER)
		{
			if(issuecode!=ConstCode.ADMINISTRATOR)
			{
				
				return true;
			}
			
		}else if(membercode==ConstCode.TESTER)
		{
			if(issuecode!=ConstCode.ADMINISTRATOR)
			{
				if(issuecode!=ConstCode.DEVELOPER)
				{
					
					return true;
				}
								
			}
		}else if(membercode==ConstCode.GENEREL)
		{
			if(issuecode==ConstCode.GENEREL)
			{
				
				return true;
			}
		}
		
		return false;
	}
	
	
	
	
}
